package com.ellecity06.cwhiskymall.ui.consumer_gift

import com.ellecity06.common.base.view.IUiState
import com.ellecity06.cwhiskymall.bean.response.ConsumerRecordResponse

/**
 * @author ellecity06
 * @time 2024/10/29 16:41
 * @des
 */
sealed class ConsumerGiftState : IUiState {

    data class RecordSuccess(val data: ConsumerRecordResponse) : ConsumerGiftState()

    /**
     * 按钮状态修改
     */
    data class ChangeBtnState(val receiveStatus: Int) : ConsumerGiftState()

    /**
     * 去消费
     */
    object ToShopping : ConsumerGiftState()

    /**
     * 去弹窗确认
     */
    data class ShowAlear(val amount:String) : ConsumerGiftState()
    data class ShowResult(val amount:String) : ConsumerGiftState()

    object SubReceiveSuccess :ConsumerGiftState()

    /**
     * contriLevelId 领取的贡献值id
     * amount 累计消费金额,
     * contribution 领取了多少的贡献金
     */
    data class ShowSelect(val contriLevelId:Int?,val amount:String,val contribution :String) : ConsumerGiftState()

}
